#include "cascadetrainer.h"
#include <QtGui/QApplication>
//-------------------------------------------------------------------------
#ifdef _DEBUG
#pragma comment(lib, "Qtmaind.lib")
#pragma comment(lib, "QtCored4.lib")
#pragma comment(lib, "QtGuid4.lib")
#else
#pragma comment(lib, "Qtmain.lib")
#pragma comment(lib, "QtCore4.lib")
#pragma comment(lib, "QtGui4.lib")
#endif // DEBUG
//-------------------------------------------------------------------------
#ifdef _DEBUG
#pragma comment (lib, "opencv_highgui249d.lib")
#pragma comment (lib, "opencv_core249d.lib")
#pragma comment (lib, "opencv_video249d.lib")
#pragma comment (lib, "opencv_imgproc249d.lib")
#pragma comment (lib, "opencv_features2d249d.lib")
#pragma comment (lib, "opencv_objdetect249d.lib")
#pragma comment (lib, "opencv_nonfree249d.lib")
#pragma comment (lib, "opencv_ml249d.lib")
#else
#pragma comment (lib, "opencv_highgui249.lib")
#pragma comment (lib, "opencv_core249.lib")
#pragma comment (lib, "opencv_video249.lib")
#pragma comment (lib, "opencv_imgproc249.lib")
#pragma comment (lib, "opencv_features2d249.lib")
#pragma comment (lib, "opencv_objdetect249.lib")
#pragma comment (lib, "opencv_nonfree249.lib")
#pragma comment (lib, "opencv_ml249.lib")
#endif
//-------------------------------------------------------------------------

int main(int argc, char *argv[])
{
	QApplication a(argc, argv);
	CascadeTrainer w;
	
	w.Init(argc, argv);

	w.show();
	return a.exec();
}
//-------------------------------------------------------------------------